package com.dex4d.utils;

import com.dex4d.R;
import com.dex4d.model.AssetModel;
import com.dex4d.model.User;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by chengyuchun on 2018/10/25.
 */
public class MockData {
    // todo 查询数据库，资产TOKEN维护在数据库表中
    // 因赶进度，暂时这么写，后期修改
    public static List<AssetModel> getAssets(){
        List<AssetModel> list = new ArrayList<AssetModel>();
        AssetModel eth = new AssetModel();
        eth.address = User.getInstance().getAddress();
        eth.symbol = "ETH";
        eth.localPic = R.drawable.ic_eth_logo;
        eth.picUrl = "https://images.dex4d.io/app/token/eth@3x.png";
        eth.balance = "0.0";

        AssetModel omg = new AssetModel();
        omg.address = User.getInstance().getAddress();
        //omg.contracAddress = BuildConfig.CONTRACT_DEX4D_TOKEN_OMG;
        omg.symbol = "OMG";
        omg.localPic = R.drawable.ic_omg_logo;
        omg.picUrl = "https://images.dex4d.io/app/token/omg@3x.png";
        omg.balance = "0.0";

        AssetModel seele = new AssetModel();
        seele.address = User.getInstance().getAddress();
        //seele.contracAddress = BuildConfig.CONTRACT_DEX4D_TOKEN_SEELE;
        seele.symbol = "SEELE";
        seele.localPic = R.drawable.ic_seele_logo;
        seele.picUrl = "https://images.dex4d.io/app/token/seele@3x.png";
        seele.balance = "0.0";



        AssetModel zrx = new AssetModel();
        zrx.address = User.getInstance().getAddress();
        //zrx.contracAddress = BuildConfig.CONTRACT_DEX4D_TOKEN_ZRX;
        zrx.symbol = "ZRX";
        zrx.localPic = R.drawable.ic_zrx_logo;
        zrx.picUrl = "https://images.dex4d.io/app/token/zrx@3x.png";
        zrx.balance = "0.0";

        list.add(eth);
        list.add(omg);
        list.add(seele);
        list.add(zrx);

        return list;
    }
}
